﻿using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Touch;

using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;

namespace RallyX
{
  public partial class Program
  {
    RallyXGame _game;

    void ProgramStarted()
    {
      _game = new RallyXGame();
      _game.InputManager.AddInputProvider(new GhiJoystickInputProvider(joystick));
      _game.Initialize();
      
      Debug.Print("Program Started");
    }
  }
}
